package com.wh.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wh.system.dto.RolePermissionDto;
import com.wh.system.pojo.Menu;
import com.wh.system.pojo.RolePermission;

import java.util.List;

public interface IRolePermissionService {
    void add(RolePermission rolePermission);
    void del(Long id);
    void upd(RolePermission rolePermission);
    List<RolePermission> findAll();
    RolePermission findById(Long id);

    void patchDel(List<Long> ids);

    IPage<RolePermission> findByPage(RolePermissionDto rolePermissionDto);

    List<Long> findpress(Long id);
}
